﻿@model TJBHJJ.Models.Job
@{
    ViewBag.Title = "招聘信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
    List<TJBHJJ.Models.Job> group = (List<TJBHJJ.Models.Job>)ViewData["group"];
}
<h2>@Html.ActionLink("招聘信息", "Index", new { page = (int)ViewData["page"] })>>@Model.Name</h2>
<table>
    <tr>
        <td>
            招聘职位：
        </td>
        <td>@Model.Name
        </td>
    </tr>
    <tr>
        <td>
            招聘人数：
        </td>
        <td>@Model.TalentsNumber
        </td>
    </tr>
    <tr>
        <td>
            薪资待遇：
        </td>
        <td>@Model.Salary
        </td>
    </tr>
    <tr>
        <td>
            发布时间：
        </td>
        <td>@Model.CreatDateTime
        </td>
    </tr>
    <tr>
        <td>
            过期时间：
        </td>
        <td>@Model.EndDateTime
        </td>
    </tr>
        <tr>
        <td>
            工作地址：
        </td>
        <td>@Model.Address
        </td>
    </tr>
    <tr>
        <td>
            职位描述：
        </td>
        <td>@Model.Content
        </td>
    </tr>
        <tr>
        <td>
            浏览人数：
        </td>
        <td>@Model.ReadCount
        </td>
    </tr>
    <tr>
    <td>上一个：
    @if(group[0]!=null){
        @Html.ActionLink(group[0].Name,"Detail",new {page = (int)ViewData["page"], id = group[0].Id })
    }
    </td>
    <td>下一个：
        @if(group[2]!=null){
        @Html.ActionLink(group[2].Name,"Detail",new {page = (int)ViewData["page"], id = group[2].Id })
    }
    </td>
    </tr>
</table>

